package com.mukefile.dao.impl;

import com.mukefile.dao.ActualFileDao;
import com.mukefile.pojo.ActualFile;
import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @author xinke.huang@hand-china.com
 * @version 1.0
 * @date 2021/2/12
 */
@Repository
public class ActualFileDaoImpl implements ActualFileDao {
    @Resource
    HibernateTemplate hibernateTemplate;
    @Override
    public ActualFile getActualFileById(Long id) {
        return hibernateTemplate.get(ActualFile.class, id);
    }
}
